package org.skydiveapplibrary.util;

import java.util.ArrayList;
import java.util.List;

import org.skydiveapplibrary.R;

public enum ImportSource
{
	DropBox (R.string.import_export_import_from_dropbox),
	SDCard (R.string.import_export_import_from_sdcard);
	
	private int resourceId;
	
	ImportSource(int resourceId)
	{
		this.resourceId = resourceId;
	}
	
	public int getResourceId()
	{
		return resourceId; 
	}
	
	public static List<ImportSource> getItems()
	{
		List<ImportSource> items = new ArrayList<ImportSource>();
		for (ImportSource item: ImportSource.values())
		{
			items.add(item);
		}
		return items;
	}
}
